<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap/css/bootstrap.css" />
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>

		<script src="js/static_data.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/static_ajax.js" type="text/javascript" charset="utf-8"></script>
		
		<style>

		</style>
	</head>

	<body id="app">
		<div class="container">
			<form id="book-form" class="form-horizontal" enctype="multipart/form-data">
				<div class="form-group">
					<label class="control-label col-md-2">封面</label>
					<div class="col-md-8">
						<input type="file" accept="image/x-png,image/jpeg" class="form-control" id="book-img" />
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-md-2">神书名</label>
					<div class="col-md-8">
						<input type="text" class="form-control" id="book-name" v-model="book_name" placeholder="请在此填写神书名" />
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-md-2">神书介绍</label>
					<div class="col-md-8">
						<textarea name="" rows="3" cols="" class="form-control" v-model="book_message" placeholder="请在此填写神书介绍"></textarea>
					</div>
				</div>
				<div class="form-group">
					<div class="col-md-2 col-md-offset-8">
						<input class="form-control" type="button" value="创建神书" id="create" v-on:click="upload_file" />
					</div>
				</div>
			</form>
		</div>					
	</body>
	<script src="js_locgic/new_wordbook.js" type="text/javascript" charset="utf-8"></script>
</html>